package com.example.finalframe.service.impl;

import com.example.finalframe.service.intf.FileService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;


@Service
@ConditionalOnProperty(name = "files.storage.type", havingValue = "aliyun")
public class AliyunFileServiceImpl implements FileService {
    //阿里云存储实现
    //还未购买阿里云服务，暂留个接口
    @Override
    public String storeFile(MultipartFile file) {
        return null;
    }
}
